<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/contacts.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:21 GMT -->

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 联系人</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="./public/h+/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="./public/h+/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="./public/h+/css/animate.min.css" rel="stylesheet">
    <link href="./public/h+/css/style.min862f.css?v=4.1.0" rel="stylesheet">
	<link href="./public/back/css/skin.css" rel="stylesheet">
	<link href="./public/sweetAlert/dist/sweetalert.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
    	<div id="top">
				<div class="row">
					<h3 class="col-lg-11 col-md-10 col-sm-8 col-xs-6">英雄皮肤修改</h3>
					<div class=" col-lg-1 col-md-2 col-sm-4 col-xs-6 text-center">
						<div class="btn btn-primary " data-toggle="modal" data-target="#myModal" style="margin-top: -10px;">
							添加
						</div>
					</div>
		</div>
        <div class="row">
        	{{foreach $skin as $temp}}
            <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="contact-box skin">
                    <div class="bg"  data-toggle="modal" data-target="#{{$temp['id']}}" style="background-image: url({{$temp['img']}})">
						<div class="btn btn-danger del" data-skinid="{{$temp['id']}}">
							删除
						</div>
						<div class="bottom">
							<div class="botom_top">
								{{$temp['name']}}
							</div>
							<div class="botom_bottom">
								$ {{$temp['price']}}
							</div>
						</div>
					</div>
                    <div class="clearfix"></div>
                </div>
            </div>
            {{/foreach}}
        </div>
        
        
    </div>

    <div class="modal inmodal" id="myModal" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content animated bounceInRight" style="width: 350px;">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">
                        <span aria-hidden="true">&times;</span>
                        <span class="sr-only">关闭</span>
                    </button>
                    <img alt="image" class="img-circle skin_skin" style="height:150px;width:150px;border: 5px solid #F3F3F4;cursor: pointer;" src="./public/img/拳头.png">
                    <img alt="image" class="img-circle skin_smskin" style="margin-left:20px;height:100px;width:100px;border: 5px solid #F3F3F4;cursor: pointer;" src="./public/img/拳头.png">
                    <input type="file" name="file" id="smfile" value="" class="hidden"/>
                    <input type="file" name="file" id="file" value="" class="hidden"/>
                </div>
                <div class="modal-body">
                    <form role="form">
                    	<div class="form-group">
                            <label>英雄id</label>
                            <input type="text" value="" class="form-control skin_id">
                        </div>
                        <div class="form-group">
                            <label>皮肤名称</label>
                            <input type="text" value="" class="form-control skin_name">
                        </div>
                        <div class="form-group">
                            <label>皮肤价格</label>
                            <input type="text" value="" class="form-control skin_price">
                        </div>
                        
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary add">确定</button>
                </div>
            </div>
        </div>
    </div>
    
    {{foreach $skin as $temp}}
	    <div class="modal inmodal" id="{{$temp['id']}}" tabindex="-1" role="dialog" aria-hidden="true">
	        <div class="modal-dialog modal-sm">
	            <div class="modal-content animated bounceInRight" style="width: 350px;">
	                <div class="modal-header">
	                    <button type="button" class="close" data-dismiss="modal">
	                        <span aria-hidden="true">&times;</span>
	                        <span class="sr-only">关闭</span>
	                    </button>
	                    <img alt="image" class="img-circle modify_skin" style="height: 150px;width:150px;border: 5px solid #F3F3F4;cursor: pointer;" src="{{$temp['img']}}">
	                     <img alt="image" class="img-circle modify_smskin" style="margin-left:20px;height:100px;width:100px;border: 5px solid #F3F3F4;cursor: pointer;" src="{{$temp['smimg']}}">
	                     <input type="file" name="file" id="smmodify" value="" class="hidden"/>
	                    <input type="file" name="modify" id="modify" value="" class="hidden"/>
	                </div>
	                <div class="modal-body">
	                    <form role="form">
	                    	<div class="form-group">
	                            <label>英雄id</label>
	                            <input type="text" value="{{$temp['hid']}}" class="form-control modify_id">
	                        </div>
	                        <div class="form-group">
	                            <label>皮肤名称</label>
	                            <input type="text" value="{{$temp['name']}}" class="form-control modify_name">
	                        </div>
	                        <div class="form-group">
	                            <label>皮肤价格</label>
	                            <input type="text" value="{{$temp['price']}}" class="form-control modify_price">
	                        </div>
	                        
	                    </form>
	                </div>
	                <div class="modal-footer">
	                    <button type="button" class="btn btn-white" data-dismiss="modal">取消</button>
	                    <button type="button" class="btn btn-primary modify" data-skinid="{{$temp['id']}}">保存</button>
	                </div>
	            </div>
	        </div>
	    </div>
    {{/foreach}}
    <div class="text-center">
    	 <ul class=" pagination pull-center">
     		{{if $paging==1}}
	     	<li class="paginate_button previous disabled"><a href="javascript:void(0);">上一页</a></li>
	     	{{else}}
	     	<li><a href="index.php?c=skin&a=skindata&page={{$paging-1}}">上一页</a></li>
			{{/if}}
			
	   		{{for $i=0;$i<$skinrows;$i++}}
	   		{{if $i+1==$paging}}
		    <li  class="paginate_button previous disabled"><a href="index.php?c=skin&a=skindata&page={{$i+1}}" class="color">{{$i+1}}</a></li>
		    {{else}}
		    <li><a href="index.php?c=skin&a=skindata&page={{$i+1}}">{{$i+1}}</a></li>
		    {{/if}}
			{{/for}}
			{{if $paging==$skinrows}}
		    <li class="paginate_button previous disabled"><a href="javascript:void(0);">下一页</a></li>
		    {{else}}
	     	<li><a href="index.php?c=skin&a=skindata&page={{$paging+1}}">下一页</a></li>
			{{/if}}
		</ul>
    </div>
    
    </div>

    <script src="./public/h+/js/jquery.min.js?v=2.1.4"></script>
    <script src="./public/h+/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="./public/h+/js/content.min.js?v=1.0.0"></script>
    <script src="./public/back/js/skin.js"></script>
    <script src="./public/sweetAlert/dist/sweetalert.js"></script>
    <script>
        $(document).ready(function () {
            $(".contact-box").each(function () {
                animationHover(this, "pulse")
            })
        });
    </script>
    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>

</html>